package com.laicunba.service.impl;

import java.util.HashMap;
import java.util.Map;

public class BankListHelper {
	static Map<String, FuiouPayForReqBankVO> BANK_MAP = new HashMap<String, FuiouPayForReqBankVO>();

	static {
		/**
		 * 用户支付的银行代码-->付款给用户的银行代码
		 */
		BANK_MAP.put("0801020000", new FuiouPayForReqBankVO("0102", "工商银行"));
		BANK_MAP.put("0801030000", new FuiouPayForReqBankVO("0103", "农业银行"));
		BANK_MAP.put("0801040000", new FuiouPayForReqBankVO("0104", "中国银行"));
		BANK_MAP.put("0801050000", new FuiouPayForReqBankVO("0105", "建设银行"));
		BANK_MAP.put("0801000000", new FuiouPayForReqBankVO("0403", "邮政储蓄银行"));
		BANK_MAP.put("0804100000", new FuiouPayForReqBankVO("0307", "平安银行"));
		BANK_MAP.put("0803050000", new FuiouPayForReqBankVO("0305", "民生银行"));
		BANK_MAP.put("0803030000", new FuiouPayForReqBankVO("0303", "光大银行"));
		BANK_MAP.put("0803060000", new FuiouPayForReqBankVO("0306", "广东发展银行"));
		BANK_MAP.put("0803020000", new FuiouPayForReqBankVO("0302", "中信银行"));
		BANK_MAP.put("0803090000", new FuiouPayForReqBankVO("0309", "兴业银行"));
		BANK_MAP.put("0803040000", new FuiouPayForReqBankVO("0304", "华夏银行"));
		BANK_MAP.put("0803010000", new FuiouPayForReqBankVO("0301", "交通银行"));
		BANK_MAP.put("0803080000", new FuiouPayForReqBankVO("0308", "招商银行"));
		BANK_MAP.put("0803100000", new FuiouPayForReqBankVO("0310", "浦发银行"));
	}

	public static FuiouPayForReqBankVO getFuiouPayForReqBankVO(String bankNo) {
		return BANK_MAP.get(bankNo);
	}

}

class FuiouPayForReqBankVO {

	private String bankNo;
	private String branchnm;

	public FuiouPayForReqBankVO(String bankNo, String branchnm) {
		this.bankNo = bankNo;
		this.branchnm = branchnm;
	}

	public String getBankNo() {
		return bankNo;
	}

	public String getBranchnm() {
		return branchnm;
	}

	public void setBankNo(String bankNo) {
		this.bankNo = bankNo;
	}

	public void setBranchnm(String branchnm) {
		this.branchnm = branchnm;
	}

}
